<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>

<head>
    <title>图片</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 设配移动端 -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <!-- Custom Theme files -->
    <link rel="stylesheet" href="<c:url value="/style/css/reset.css"/>" type="text/css" media="all" />
    <link rel="stylesheet" href="<c:url value="/style/css/main.css"/>" type="text/css" >
    
</head>
<jsp:include page="header.jsp"/>
<body>
   
    <section class="main">
    	<c:forEach items="${list}" var="a">
        <div class="item">
            <a href="/demo/show?id=${a.id}" class="work">
                <img class="media" src="<c:url value="${a.url}"/>" />
                <div class="content">
                    <h2 class="title">${a.title}</h2>
                </div>
            </a>
        </div>
         </c:forEach>
							<tr>
								<td>${a.id}</td>
								<td>${a.title}</td>
								
							</tr>
						
    </section>
    <!-- End main  -->
    <script src="<c:url value="/style/js/jquery-1.8.3.min.js"/>"></script>
	<script src="<c:url value="/style/js/main.js"/>"></script>
</body>

</html>
